//
//  MBDMessageModel.swift
//  MasterBoy
//
//  Created by kyson on 2023/11/7.
//

import Foundation
import SwiftyJSON

class MBDMessageModel : NSObject {
    var messageId : String?
    var userId : String?
    var messageType : String?
    var title : String?
    var content : String?

//    var desc : String?

    override init() {
        super.init()
    }
    
    init(_ jsonData : JSON) {
        super.init()
        self.messageId = jsonData["messageId"].stringValue
        self.userId = jsonData["userId"].stringValue
        self.messageType = jsonData["messageType"].stringValue
        self.title = jsonData["title"].stringValue
        self.content = jsonData["content"].stringValue
        
    }
    
}
